package com.scm.dao;

import com.scm.pojo.ScmUser;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @ClassName ScmUserMapper
 * @Description TODO
 * @Author Xu
 * @Date 2021/7/5 19:38
 * @Version 1.0
 **/
@Repository
public interface ScmUserMapper {
    List<ScmUser> getAllScmUser();
    int countAll();
    List<ScmUser> findAll(Map<String,Object> params);
    void addUser(ScmUser user);
    void deleteUser(String account);
    ScmUser findUser(String name);
    void updateUser(ScmUser user);
    String findAccount(String name);
    String getUserName(String account);
}
